package com.kz.framework.entity;

import org.apache.commons.collections4.MapUtils;

import java.util.Map;

/**
 * @description: 请求参数对象 存放每个请求的请求参数
 * @author zhgp
 * @date 2021/6/21 21:07
 * @version 1.0
 */
public class Param {

    private Map<String, Object> paramMap;

    public Param(Map<String, Object> paramMap) {
        this.paramMap = paramMap;
    }

    public Map<String, Object> getParamMap() {
        return paramMap;
    }

    public boolean isEmpty() {
        return MapUtils.isEmpty(paramMap);
    }
}
